using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace Person.View
{
    public partial class rptPerSon : DevExpress.XtraReports.UI.XtraReport
    {
        public rptPerSon()
        {
            InitializeComponent();
        }

        private void rptPerSon_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            colID.DataBindings.Add("Text", DataSource, "PersonID");
            colFirstName.DataBindings.Add("Text", DataSource, "FirstName");
            colLastName.DataBindings.Add("Text", DataSource, "LastName");
            colBirthDate.DataBindings.Add("Text", DataSource, "BirthDate");
            colWeight.DataBindings.Add("Text", DataSource, "Weight");
            colHeight.DataBindings.Add("Text", DataSource, "Height");
        }


    }
}
